Class sjl.Iter
All Packages Class Hierarchy This Package Previous Next Index
Class sjl.Iter
java.lang.Object
|
+----sjl.Iter
- public class Iter
- extends Object
Base class of all concrete iterators. It implements the common behavior
that are shared between all concrete iterators.
Copyright © 1996 Finn Bock
-
Iter()
-
-
bidirectionalIterator()
- A casting method.
-
copy(BidirectionalIterator)
- Return a new copy of the parameter.
-
copy(ForwardIterator)
- Return a new copy of the parameter.
-
copy(InputIterator)
- Return a new copy of the parameter.
-
copy(OutputIterator)
- Return a new copy of the parameter.
-
copy(RandomIterator)
- Return a new copy of the parameter.
-
forwardIterator()
- A casting method.
-
inputIterator()
- A casting method.
-
outputIterator()
- A casting method.
-
randomIterator()
- A casting method.
Iter
public Iter()
copy
public static InputIterator copy(InputIterator iter)
- Return a new copy of the parameter.
copy
public static OutputIterator copy(OutputIterator iter)
- Return a new copy of the parameter.
copy
public static ForwardIterator copy(ForwardIterator iter)
- Return a new copy of the parameter.
copy
public static BidirectionalIterator copy(BidirectionalIterator iter)
- Return a new copy of the parameter.
copy
public static RandomIterator copy(RandomIterator iter)
- Return a new copy of the parameter.
inputIterator
public InputIterator inputIterator()
- A casting method. Return self as a InputIterator.
outputIterator
public OutputIterator outputIterator()
- A casting method. Return self as an OutputIterator, or fails with
a runtime error message if this is not a output iterator.
forwardIterator
public ForwardIterator forwardIterator()
- A casting method. Return self as an ForwardIterator, or fails with
a runtime error message if this is not a forward iterator.
bidirectionalIterator
public BidirectionalIterator bidirectionalIterator()
- A casting method. Return self as an BidirectionaIterator, or fails
with a runtime error message if this is not a bidirectional iterator.
randomIterator
public RandomIterator randomIterator()
- A casting method. Return self as an RandomIterator, or fails with
a runtime error message if this is not a random iterator.
All Packages Class Hierarchy This Package Previous Next Index